package ooday02.animal;

public abstract class Animal {
    int age;
    String name;
    String color;
Animal(){

}
    Animal(int age,String name,String color){
        this.age=age;
        this.name=name;
        this.color=color;
    }
     void drink(){
        System.out.println("animal喝水.."+name+"\t"+age+"\t"+color);
    }
    static void staFunc(){
        System.out.println("静态方法");
    }
    abstract void eat();




}
